PATHMac OS 8 and 9 Developer Documentation > Human Interface Toolbox > Menu Manager >

Mac OS 8 Menu Manager Reference


Menu Item Icon Type Constants

The following constants specify the type of an icon attached to a menu item. They are passed in SetMenuItemIconHandle and obtained by GetMenuItemIconHandle . Menu item icon type constants are available with Appearance Manager 1.0 and later.

enum {
    kMenuNoIcon         = 0,
    kMenuIconType       = 1,
    kMenuShrinkIconType = 2,
    kMenuSmallIconType  = 3,
    kMenuColorIconType  = 4,
    kMenuIconSuiteType  = 5,
    kMenuIconRefType    = 6
};

Constant descriptions

kMenuNoIcon
No icon.
kMenuIconType
Identifies an icon of type 'ICON' .
kMenuShrinkIconType
Identifies a 32-by-32-pixel icon of type 'ICON', shrunk (at display time) to 16-by-16.
kMenuSmallIconType
Identifies an icon of type 'SICN' .
kMenuColorIconType
Identifies an icon of type ' cicn ' .
kMenuIconSuiteType
Identifies an icon suite.
kMenuIconRefType
Identifies an icon of type IconRef . This value is supported under Mac OS 8.5 and later.

© 1998 Apple Computer, Inc. - (Last Updated 19 Nov 98)